#include <stdio.h>
int main(void)
{
	int x=100,x1,x2,x3;
	while (x<=999){
		x1=x%10;
	    x2=x/10%10;
     	x3=x/100;
		if (x1==x2||x2==x3||x1==x3)
			printf("%d---yes\n",x);
		else
			printf("%d---no\n",x);
		x++;
	}
		return 0;
}